﻿using System;
using System.IO;
using System.Linq;
using System.Windows;
using System.Xml.Linq;

namespace Qwen_for_Windows
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            Model.App_Model.CheckXMLFile(MainFrame);
            MainFrame.Navigate(new Pages.MainPage());
        }

        /// <summary>
        /// 设置按钮点击事件
        /// </summary>
        private void SettingButton_Click(object sender, RoutedEventArgs e)
        {
            MainFrame.Navigate(new Pages.SettingPage());
        }
    }
}
